package com.botao.tip.entity;

import com.baomidou.mybatisplus.annotation.TableField;

/**
 * @author : vip865047755@126.com
 * @version :JDK1.8
 * @date : 2020/12/2 22:42
 * @File : Department.java
 * @software: IntelliJ IDEA
 */
public class Department {

    @TableField("departmentId")
    private int departmentId;
    private String department;

    public Department() {
    }

    public Department(int departmentId, String department) {
        this.departmentId = departmentId;
        this.department = department;
    }

    public int getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(int departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    @Override
    public String toString() {
        return "Department{" +
                "departmentId=" + departmentId +
                ", department='" + department + '\'' +
                '}';
    }
}
